@mixin flex-display {
  display: flex;
  align-items: center;
  flex-direction: row;
}

@mixin shop-name {
  font-size: 45px;
  font-weight: lighter;
  color: rgb(255, 255, 255);
  text-decoration: none;
}

@media (max-width: 8540px) {
  .contacts-block {
    gap: 25px;
  }
  .footer-left-info{
     align-items: unset;
  }
}

@media (max-width: 940px) {
  .footer {
    flex-direction: column;
  }

  .contacts-block {
    gap: 5px;
  }

  .footer-right {
    flex-direction: column;
    justify-content: center;
  }
  .footer-left-info{
    margin-bottom: 30px;
    justify-content: center;
    width: 100%;
  }

  
  

  .mail-footer {
    text-align: center;
  }
}


.footer {
  width: 100%;
  height: 100%;
  padding: 30px 50px;
  background: black;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}

.footer-right {
  gap: 50px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;

  .contacts-block {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}

.footer-left-links {
  @include flex-display;
  gap: 20px;
}

.footer-left-info {
  @include flex-display;
}

.footer-shop-name {
  @include shop-name;
  margin: 10px 0;
}

.instagram-link {
  cursor: pointer;
  width: 35px;
  height: 35px;
  background-color: white;
  border-radius: 10px;
}

.shop-link {
  @include shop-name;
  font-size: 20px;
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 50% 100%;
  background-repeat: no-repeat;
  background-size: 0% 1.5px;
  transition: background-size 0.4s;
  color: #97989b;
  height: 25px;

  &:hover {
    background-size: 100% 1.5px;
  }
}

.mail-footer {
  font-size: 18px;
  color: #97989b;
}

.e-mail-footer {
  font-size: 18px;
}

.payment-description {
  font-size: 18px;
  margin: 0;
  color: #97989b;
}

.payment-block {
  @include flex-display;
  flex-direction: column;

  .payment-icons {
    width: 200px;
    @include flex-display;
    justify-content: space-between;
  }
}

.date-year {
  color: #97989b;
  font-size: 20px;
}